package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 *      ai摄像头信息表实体类
 * </desc>
 *
 * @createDate2021/5/28
 **/
@Data
@ItlTables("device_ai_camera_info")
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class DeviceAICameraInfoPO extends BasePO implements Serializable {

    @ItlField(value = "camera_id",logicKey = "key")
    private String cameraId;        //逻辑主键

    @ItlField("elevator_device_unique")
    private String elevatorDeviceUnique; //电梯设备唯一码

    @ItlField("project_id")
    private String projectId;               //项目id

    @ItlField("camera_name")
    private String cameraName;              //摄像头名称

    @ItlField("camera_model")
    private String cameraModel;             //摄像头型号

    @ItlField("camera_ip")
    private String cameraIp;                //摄像机ip

    @ItlField("alarm_status")
    private Integer alarmStatus;            //是否开启实时告警 1开启 0关闭，默认关闭

    @ItlField("upload_status")
    private Integer uploadStatus;           //告警信息是否上传图片 1是 0否

    @ItlField("remark")
    private String remark;                  //备注


    public DeviceAICameraInfoPO(String cameraId, String elevatorDeviceUnique, String projectId, String cameraName, String cameraIp,String remark,String cameraModel) {
        this.cameraId = cameraId;
        this.elevatorDeviceUnique = elevatorDeviceUnique;
        this.projectId = projectId;
        this.cameraName = cameraName;
        this.cameraIp = cameraIp;
        this.remark = remark;
        this.cameraModel = cameraModel;
    }

}
